package com.qfedu.common.redis.enums;

/**
 * @Classname RedisKeyEnum
 * @Description TODO
 * @Date 2025-09-24 11:08
 * @Created by 老任与码
 */
public enum RedisKeyEnum {

    KEY_CODE("code:%s", 300);

    private String key;
    private int expire;

    public String getKey() {
        return key;
    }

    public int getExpire() {
        return expire;
    }

    RedisKeyEnum(String key, int expire) {
        this.key = key;
        this.expire = expire;
    }
}
